package com.ruoyi.bl.mapper;

import java.util.List;
import com.ruoyi.bl.domain.BlGoodsCategory;

/**
 * 商品分类Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public interface BlGoodsCategoryMapper 
{
    /**
     * 查询商品分类
     * 
     * @param categoryId 商品分类主键
     * @return 商品分类
     */
    public BlGoodsCategory selectBlGoodsCategoryByCategoryId(Long categoryId);

    /**
     * 查询商品分类列表
     * 
     * @param blGoodsCategory 商品分类
     * @return 商品分类集合
     */
    public List<BlGoodsCategory> selectBlGoodsCategoryList(BlGoodsCategory blGoodsCategory);

    /**
     * 新增商品分类
     * 
     * @param blGoodsCategory 商品分类
     * @return 结果
     */
    public int insertBlGoodsCategory(BlGoodsCategory blGoodsCategory);

    /**
     * 修改商品分类
     * 
     * @param blGoodsCategory 商品分类
     * @return 结果
     */
    public int updateBlGoodsCategory(BlGoodsCategory blGoodsCategory);

    /**
     * 删除商品分类
     * 
     * @param categoryId 商品分类主键
     * @return 结果
     */
    public int deleteBlGoodsCategoryByCategoryId(Long categoryId);

    /**
     * 批量删除商品分类
     * 
     * @param categoryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBlGoodsCategoryByCategoryIds(Long[] categoryIds);
}
